package cong;


import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class Fangshi1 implements MethodBeforeAdvice {

    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("----我要在方法之前执行");
    }
}
